//===================================
//File: Throat.h
//Throat structure
//Name: Smirnova O.P.
//Date: 09.04.12, v.1.0
//===================================


#ifndef Throat_H
#define Throat_H

#include "Rect.h"
#include "Distance.h"
#include "Point.h"
#include <iostream>



//---------------------------------------------------------------------------
class Throat{

Rectangle rect;
Distance dist;

unsigned int id;
static unsigned int count;
static unsigned int count_all;

public:
//Конструктор без параметров
Throat();
//Конструктор с параметрами
Throat (Point C,  double a, double b);

//Деструктор
~Throat();

void moveTo( Point p);

void moveTodXdY( double  x, double y); 

void consSF(Point P);

Rectangle getRect () ;
Distance getDistance();
const unsigned int getID();
static unsigned int countObject();

};
#endif
